package event;

import influence.Influence;

import java.util.ArrayList;
import java.util.List;

import processing.core.PApplet;
import run.Doodler;
import run.Env;
import action.Action;
import action.TurnAction;

public class IncomingCollisionEvent implements Event {

	
	public List<Influence> getOutputInfluences() {
		
		final Env e = Env.instance;
		final PApplet p = Doodler.instance;
		
		
		ArrayList<Influence> list = new ArrayList<Influence>();
		list.add(new Influence() {

			public Action getAction() {
				//rotate by t radians for time; a persistent influence
			    Action d = new TurnAction();
				return d;
			}

			public float getScale() {
				return 0.5F;
			}
			
		});
		return list;
	}

}
